package com.hetao.jmb2c.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hetao.jmb2c.dto.GoodsPageQueryDTO;
import com.hetao.jmb2c.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;

public interface GoodsService extends IService<Goods> {

    IPage<Goods> getPage(GoodsPageQueryDTO goodsPageQueryDTO);

    void updateStatus(Long id, Integer status);
    void updateVisible(Long id, Integer visible);
}
